package org.neurone.userspace.userinfo;

import java.util.List;

import org.neurone.domain.Message;

public interface MessageMgr {
	void send();
	
	List<Message> getAll(int pageSize, int pageIndex);
	List<Message> getAllNews(int pageSize, int pageIndex);
	List<Message> getAllScrip(int pageSize, int pageIndex);
	List<Message> getAllTask(int pageSize, int pageIndex);
	
	List<Message> getPersonalAll(String userName, int pageSize, int pageIndex);	
	List<Message> getPersonalNews(String userName, int pageSize, int pageIndex);
	List<Message> getPersonalScrip(String userName, int pageSize, int pageIndex);
	List<Message> getPersonalTask(String userName, int pageSize, int pageIndex);
}
